package com.hansming.bss.modules.sfc.util;

/**
 *便于租车转换时间的类
 * @author Hansming
 * @version 
 */
public class CarTimeHelp {
	
	public	static String changetotime(int num){
		String result = "";
		int i = num/2;
		int j = num%2;
		if(i<10){
			if(j == 1){
				result="0"+i+":30";
			}else{
				result="0"+i+":00";
			}
		}else{
			if(j == 1){
				result=i+":30";
			}else{
				result=i+":00";
			}
		}
		return result;
	}
	
}
